<?php
defined('_JEXEC') or die;
class PhuongViewPhuongs extends JViewLegacy
{
	protected $items;
	protected $pagination;
	protected $state;
	public function display($tpl = null)
		{
			$this->items	 = $this->get('Items'); // getItems
			$this->pagination	= $this->get('Pagination');
			$this->state	 = $this->get('State');
			$this->addToolbar();
			parent::display($tpl);


		}
	protected function addToolbar()
		{
			JToolBarHelper::title("Com Phuong", 'icon.png');
			JToolBarHelper::addNew('phuong.add');
			JToolBarHelper::editList('phuong.edit');
			JToolBarHelper::deleteList('', 'phuongs.delete', 'JTOOLBAR_EMPTY_TRASH');
				JToolBarHelper::divider();

		}
}
